package com.youboy.wechatapi.domain.mysql;

import java.io.Serializable;
import java.util.Date;

/**
 * @ProjectName：wechatapi   
 * @author：冉尧（Yvan）
 * @CreateTime：2014年10月28日 上午10:39:13  
 * @Remarks：访问记录   
 */
@SuppressWarnings("serial")
public class VisitInfo implements Serializable {

	private int id;
	
	private String openid;
	
	private String redirectUrl;
	
	private Integer type;
	
	private Date createTime;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getRedirectUrl() {
		return redirectUrl;
	}

	public void setRedirectUrl(String redirectUrl) {
		this.redirectUrl = redirectUrl;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public VisitInfo() {
		// TODO Auto-generated constructor stub
	}

	public VisitInfo(String openid, String redirectUrl, Integer type) {
		super();
		this.openid = openid;
		this.redirectUrl = redirectUrl;
		this.createTime = new Date();
		this.type = type;
	}
	
}

